package com.wanmait.deliverymangementsystem.service.impl;

import com.wanmait.deliverymangementsystem.mapper.ProvinceMapper;
import com.wanmait.deliverymangementsystem.pojo.Province;
import com.wanmait.deliverymangementsystem.service.ProvinceService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class ProvinceServiceImpl implements ProvinceService {
    @Resource
    private ProvinceMapper provinceMapper;
    @Override
    public List<Province> findAll() {
        return provinceMapper.findAll();
    }
}
